<?php
class T
{
	
	public $php;

    /**
     +----------------------------------------------------------
     * Զ
     +----------------------------------------------------------
     * @access public
     +----------------------------------------------------------
     * @param $name 
     * @param $value  ֵ
     +----------------------------------------------------------
     */
    public function __set($name ,$value)
    {
        if(property_exists($this,$name))
            $this->$name = $value;
    }

    /**
     +----------------------------------------------------------
     * Զȡ
     +----------------------------------------------------------
     * @access public
     +----------------------------------------------------------
     * @param $name 
     +----------------------------------------------------------
     * @return mixed
     +----------------------------------------------------------
     */
    public function __get($name)
    {
        return isset($this->php->$name)?$this->php->$name:null;
		
		
    }
    
    public function __construct($p) {
    	$this->php = $p;
    	$this->__init__();
    }
    
    public function __init__() {
    	
    }

}
?>